
ACLOCAL_AMFLAGS = -I m4

noinst_PROGRAMS = getch
getch_SOURCES = getch.c
getch_CPPFLAGS = -I$(top_srcdir)/src 
getch_LDADD = $(top_builddir)/src/libuls.la

$(getch_OBJECTS) : sample_lex.h

%_lex.h : %.ulc
	$(top_srcdir)/ulc2class/ulc2class -c $<
